#ifndef _XX_YY_BMOCK_MEM_FUNC_PTR_HOLDER
#define _XX_YY_BMOCK_MEM_FUNC_PTR_HOLDER

namespace bmock {

	template<typename T>
	struct mem_func_ptr_holder{
		mem_func_ptr_holder(T ptr){ptr_=ptr;}
		mem_func_ptr_holder(void* vptr){vptr_=vptr;}
		mem_func_ptr_holder(){vptr_ = NULL;}
		
		union {
			T ptr_;
			void* vptr_;
		};
	};

}
#endif
